//
//  Constanta.cpp
//  Lab12-calcul functie
//
//  Created by Cristi Holdunu on 5/22/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#include <iostream>
#include "Constanta.h"
#include <sstream>
Constanta::Constanta(long double val)
{
    valoare=val;
}
long double Constanta::calcul()
{
    return this->valoare;
}
std::string Constanta::derivare()
{
    return "0";
}

long double Constanta::calculDerivata()
{
    return 0;
}

std::string Constanta::convertString()
{
    std::ostringstream converter;
    converter<<this->valoare;
    return converter.str();
}